From: Jonas Ã…dahl Date: Tue, 23 Feb 2021 17:24:35 +0000 (+0100) Subject: main: Move NO_AT_BRIDGE hack to mutter X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~247 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7f466551faa279be10555cda958ea752775dec19;p=gnome-shell.git main: Move NO_AT_BRIDGE hack to mutter There is no guarantee that it'll have effect, since the time anything that'll look at that environment variable is not known by gnome-shell. Let mutter carry this burden instead. Part-of: --- diff --git a/src/main.c b/src/main.c index 8c59f9c09..5d07a4301 100644 --- a/src/main.c +++ b/src/main.c @@ -465,10 +465,7 @@ main (int argc, char **argv) meta_set_wm_name (WM_NAME); meta_set_gnome_wm_keybindings (GNOME_WM_KEYBINDINGS); - /* Prevent meta_init() from causing gtk to load the atk-bridge*/ - g_setenv ("NO_AT_BRIDGE", "1", TRUE); meta_init (); - g_unsetenv ("NO_AT_BRIDGE"); /* FIXME: Add gjs API to set this stuff and don't depend on the * environment. These propagate to child processes.